package edu.msg.jthr.backend.model;

import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.print.DocFlavor.BYTE_ARRAY;

@Entity
@Table(name = "Candidate")
public class Candidate extends BaseEntity {
	private static final long serialVersionUID = 1L;

	private String firstName;
	private String lastName;
	private String phoneNumber;
	private String mobileNumber;
	private String email;
	private String address;
	private boolean relocation;
	private BYTE_ARRAY cv;
	private List<Date> interviewDates;
	private List<Comment> comments;

	public Candidate() {

	}

	@Column(name = "FirstName")
	public String getFirstName() {
		return firstName;
	}

	@Column(name = "LastName")
	public String getLastName() {
		return lastName;
	}

	@Column(name = "PhoneNr")
	public String getPhoneNumber() {
		return phoneNumber;
	}

	@Column(name = "MobilePhoneNr")
	public String getMobileNumber() {
		return mobileNumber;
	}

	@Column(name = "Email")
	public String getEmail() {
		return email;
	}

	@Column(name = "Address")
	public String getAddress() {
		return address;
	}

	@Column(name = "Relocation")
	public boolean isRelocation() {
		return relocation;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public void setMobileNumber(String mobileNumber) {
		this.mobileNumber = mobileNumber;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public void setRelocation(boolean relocation) {
		this.relocation = relocation;
	}

	public void setInterviewDates(List<Date> interviewDates) {
		this.interviewDates = interviewDates;
	}

	public void setComments(List<Comment> comments) {
		this.comments = comments;
	}

}
